import request from "../../util/request"

// 查询存储员工薪酬福利信息列表
export function listSalariesbenefits(query) {
  return request({
    url: '/system/salariesbenefits/list',
    method: 'get',
    params: query
  })
}

// 查询存储员工薪酬福利信息详细
export function getSalariesbenefits(SalariesBenefitsID) {
  return request({
    url: '/system/salariesbenefits/' + SalariesBenefitsID,
    method: 'get'
  })
}

// 新增存储员工薪酬福利信息
export function addSalariesbenefits(data) {
  return request({
    url: '/system/salariesbenefits',
    method: 'post',
    data: data
  })
}

// 修改存储员工薪酬福利信息
export function updateSalariesbenefits(data) {
  return request({
    url: '/system/salariesbenefits',
    method: 'put',
    data: data
  })
}

// 删除存储员工薪酬福利信息
export function delSalariesbenefits(SalariesBenefitsID) {
  return request({
    url: '/system/salariesbenefits/' + SalariesBenefitsID,
    method: 'delete'
  })
}
